package cn.wicking.annotation;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("userAnnotation")
public class UserAnnotation {

    @Value("root")
    String username;
    @Value("123456")
    String password;

    public void show(){
        System.out.println(username +"\t" +password);
    }

}
